/*
* 路由对象模块
* */
import Vue from 'vue'
import VueRouter from 'vue-router'

/*引入pages*/
const LowCodeDesign = () => import('@/views/low-code-design/index.vue');
const LowCodeParse = () => import('@/views/low-code-parse/index.vue');

//申明使用插件
Vue.use(VueRouter)
export default new VueRouter({
  routes: [
    {
      path: '/',
      redirect: '/low-code-design' //系统默认页
    },
    {
      path: '/low-code-design',
      component: LowCodeDesign,
      meta: {
        showFooter: true
      }
    },
    {
      path: '/low-code-parse',
      component: LowCodeParse,
      meta: {
        showFooter: true
      }
    }
  ]
})